package tsg.graphic;


import tsg.util.OperatingSystem;

public class FontFactory 
{
	private FontFactory()
	{
		
	}
	
	public static SystemFont createSystemFont(String name, int style, float size)
	{
		SystemFont 	font 		= null;
		boolean 	isBold 		= ((style & Font.BOLD)   > 0);
		boolean 	isItalic 	= ((style & Font.ITALIC) > 0);
		
		if(OperatingSystem.getOperatingSystem() != OperatingSystem.ANDROID)
		{
			font = new PCFont(name, isBold, isItalic, size);
		}
		else
		{
			// TODO: Make android font
		}
		
		return font;
	}
}
